using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Object = UnityEngine.Object;

namespace PackTool
{
    public class MeshSerialize
    {
        static public void Serizlize(Mesh mesh, BinaryWriter writer)
        {
            writer.Write(mesh.name);
            writer.Write(mesh.bindposes.Length);
            foreach (Matrix4x4 matrix in mesh.bindposes)
            {
//                 for ()
//                 {
// 
//                 }
            }
        }

//         static public Mesh Deserialize(BinaryReader reader)
//         {
// 
//         }
    }
}